ScrolledWindow: Don’t check if child is Scrollable
authorDaniel Boles <dboles@src.gnome.org>
Fri, 10 Mar 2017 20:37:27 +0000 (20:37 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Mon, 20 Mar 2017 23:25:23 +0000 (23:25 +0000)
commit5c2f642ddde4f4f947c10c9b11448408910a2f76
tree5d3cec96cc33e8942132690da6d3933430c2e269
parent52547054a55a7ddd4c0f62c170e37d77e0b09c7a
ScrolledWindow: Don’t check if child is Scrollable

If the child added is not a Scrollable, it gets wrapped in a ViewPort –
which is. So it is impossible to end up with a non-Scrollable child.

Just check we have /any/ child where needed, which is semantically nicer

https://bugzilla.gnome.org/show_bug.cgi?id=778853
gtk/gtkscrolledwindow.c